import { userService } from '../services/user.service';
import { UserCreateDto, UserListDto, UserSingleDto, UserUpdateDto } from '../dtos/user.dto';
import { BaseController } from './.controller';
import UserModel from '../models/user.model';

class UserController extends BaseController<UserModel, UserListDto, UserSingleDto, UserCreateDto, UserUpdateDto> {
  constructor() {
    super(userService);
  }
}

export const userController = new UserController();
